import request from '@/utils/http'

export const voteAPI = (objectId, objectType, status, lastStatus) =>
  request.post('/vote', {
    objectId,
    status,
    objectType,
    lastStatus
  })